<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/framework/tcp/framework/Service.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_5752cadd8276ecfd63d9b924f2a4d4b5.html">framework</a></li><li class="navelem"><a class="el" href="dir_c67741c6509c9bd4aec6faa9fd694608.html">tcp</a></li><li class="navelem"><a class="el" href="dir_cf0ab36ee90451b75992f2af7ab5af86.html">framework</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Service.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_service_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __SERVICE_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __SERVICE_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;../config/TcpConf.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../../../algorithm/SafeMap.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;../../../thread/SharedPtr.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;../../../socket/SockTools.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;../../../stream/internal/StringImp.h&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">class </span><a class="code" href="class_client.html">Client</a>;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">class </span><a class="code" href="class_c_tcp_io_socket.html">CTcpIoSocket</a>;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">class </span><a class="code" href="class_c_basic_service.html">CBasicService</a>;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<a class="code" href="_service_8h.html#a9fc23599cd3712ecad52d68f3a243af1">EXPORT_SHARED_PTR</a>(<a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a>, <a class="code" href="class_tcp_config.html">TcpConfig</a>);</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_service.html">   19</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_service.html">Service</a></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;{</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <a class="code" href="tools_8h.html#af0d60cfe49f1e07cbec28c12afc4343e">delete_class_copy_operator</a>(<a class="code" href="class_service.html">Service</a>);</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <a class="code" href="class_service.html">Service</a>();</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_service.html">Service</a>();</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> Init(<span class="keyword">const</span> <a class="code" href="class_tcp_config.html">TcpConfig</a>&amp; c) = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> PostConnect(<span class="keywordtype">void</span>* invoker = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>* addr = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>, <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> port = 0) = 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="comment">// 运行</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> Run() = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetName() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> Post(<a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>(*complete)(<span class="keywordtype">void</span>*), <span class="keywordtype">void</span>* invoker) = 0;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_service.html#a05c507629c3614ccbe433ea89fd0f985">   50</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_service.html#a05c507629c3614ccbe433ea89fd0f985">IsServer</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _isServer; }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordtype">bool</span> IsExistClient(<span class="keyword">const</span> std::string&amp; iden) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">bool</span> IsServiceFlag(<span class="keyword">const</span> std::string&amp; iden) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">size_t</span> GetSize() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">void</span> SetServiceFlag(<span class="keyword">const</span> std::string&amp; flag);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    std::string GetServiceFlag() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    std::string GetClientIden(<a class="code" href="class_client.html">Client</a>* c) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_basic_service.html">CBasicService</a>* GetTcpService() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> NotifyExit() = 0;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="struct_service_1_1_delete_function.html">   76</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_service_1_1_delete_function.html">DeleteFunction</a> :std::unary_function&lt;Service*, DWORD&gt; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="struct_service_1_1_delete_function.html#a679c565a5a4c154d00c10d4b7161f8d7">   78</a></span>&#160;        <a class="code" href="struct_service_1_1_delete_function.html#a679c565a5a4c154d00c10d4b7161f8d7">DeleteFunction</a>(<a class="code" href="class_service.html">Service</a>* s) :_service(s) {}</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="struct_service_1_1_delete_function.html#a1003a60ea9d75a9a3b429230e7b8f234">   79</a></span>&#160;        <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> operator() (<span class="keywordtype">void</span>* invoker) { <span class="keywordflow">return</span> _service-&gt;DeleteClient(invoker); }</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="struct_service_1_1_delete_function.html#a85f698b873ff280c7fba743ad7d629f0">   81</a></span>&#160;        <a class="code" href="class_service.html">Service</a>* <a class="code" href="struct_service_1_1_delete_function.html#a85f698b873ff280c7fba743ad7d629f0">_service</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    };</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordtype">void</span> AddClient(<span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;Client&gt;</a>&amp; c);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="comment">//void DeleteClient(Client* c);</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keywordtype">void</span> DeleteClient(<a class="code" href="_sock_tools_8h.html#ac7875a7f6984241a06892f7041b4d30a">SOCKIDEN</a> <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="comment">//SharedPtr&lt;Client&gt; GetClient(const std::string&amp; iden);</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">bool</span> PopClient(<a class="code" href="class_shared_ptr.html">SharedPtr&lt;Client&gt;</a>&amp; c);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordtype">void</span> Clear();</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> DealConnect(<a class="code" href="class_client.html">Client</a>* c, <span class="keyword">const</span> <span class="keywordtype">char</span>* msg, <span class="keywordtype">void</span>* invoker) = 0;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> SetSocketOpt(<a class="code" href="class_c_tcp_io_socket.html">CTcpIoSocket</a>* s) = 0;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="class_service.html#a46eb93cf78fbfeed368634a90d9775d9">  109</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_service.html#a46eb93cf78fbfeed368634a90d9775d9">DeleteNullClient</a>(<a class="code" href="class_client.html">Client</a>* c) {}</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> DeleteClient(<span class="keywordtype">void</span>* invoker);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="class_service.html#a50e40c4461989310f8c03faf5e382e40">  112</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_server_pool.html">ServerPool</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_service.html#a307f7bf977f0a39c8675fb42bc204e36">  113</a></span>&#160;    StringImp&lt;std::string&gt; <a class="code" href="class_service.html#a307f7bf977f0a39c8675fb42bc204e36">_serviceFlag</a>;                    </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="class_service.html#ac215518825547a80c089e9166d4f5e72">  114</a></span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;TcpConfig&gt;</a> <a class="code" href="class_service.html#ac215518825547a80c089e9166d4f5e72">_config</a>;                           </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_service.html#a5155a095380842a32c022fe9c9854ffd">  115</a></span>&#160;    <a class="code" href="class_c_safe_map.html">CSafeMap&lt;SOCKIDEN, SharedPtr&lt;Client&gt;</a> &gt; *<a class="code" href="class_service.html#a5155a095380842a32c022fe9c9854ffd">_mgr</a>;           </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="class_service.html#a83c9735b06c1d6bd177cb0b8d04ce038">  116</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_service.html#a83c9735b06c1d6bd177cb0b8d04ce038">_isServer</a>;                                         </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;};</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">#endif // __SERVICE_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_service_html_a307f7bf977f0a39c8675fb42bc204e36"><div class="ttname"><a href="class_service.html#a307f7bf977f0a39c8675fb42bc204e36">Service::_serviceFlag</a></div><div class="ttdeci">StringImp&lt; std::string &gt; _serviceFlag</div><div class="ttdoc">服务前缀标志</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00113">Service.h:113</a></div></div>
<div class="ttc" id="aclass_c_safe_map_html"><div class="ttname"><a href="class_c_safe_map.html">CSafeMap</a></div><div class="ttdoc">线程安全的映射类</div><div class="ttdef"><b>Definition:</b> <a href="_safe_map_8h_source.html#l00014">SafeMap.h:14</a></div></div>
<div class="ttc" id="a_service_8h_html_a9fc23599cd3712ecad52d68f3a243af1"><div class="ttname"><a href="_service_8h.html#a9fc23599cd3712ecad52d68f3a243af1">EXPORT_SHARED_PTR</a></div><div class="ttdeci">EXPORT_SHARED_PTR(LIBTOOLS, TcpConfig)</div></div>
<div class="ttc" id="aclass_shared_ptr_html"><div class="ttname"><a href="class_shared_ptr.html">SharedPtr</a></div><div class="ttdoc">智能指针</div><div class="ttdef"><b>Definition:</b> <a href="_shared_ptr_8h_source.html#l00119">SharedPtr.h:119</a></div></div>
<div class="ttc" id="atools_8h_html_af0d60cfe49f1e07cbec28c12afc4343e"><div class="ttname"><a href="tools_8h.html#af0d60cfe49f1e07cbec28c12afc4343e">delete_class_copy_operator</a></div><div class="ttdeci">#define delete_class_copy_operator(ClassName)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00345">tools.h:345</a></div></div>
<div class="ttc" id="a_sock_tools_8h_html_ac7875a7f6984241a06892f7041b4d30a"><div class="ttname"><a href="_sock_tools_8h.html#ac7875a7f6984241a06892f7041b4d30a">SOCKIDEN</a></div><div class="ttdeci">DEF_BEG_LIBTOOLS typedef INT64 SOCKIDEN</div><div class="ttdoc">SOCKET唯一标识符ID</div><div class="ttdef"><b>Definition:</b> <a href="_sock_tools_8h_source.html#l00019">SockTools.h:19</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="aclass_tcp_config_html"><div class="ttname"><a href="class_tcp_config.html">TcpConfig</a></div><div class="ttdoc">客户端配置类</div><div class="ttdef"><b>Definition:</b> <a href="_tcp_conf_8h_source.html#l00018">TcpConf.h:18</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="aclass_service_html"><div class="ttname"><a href="class_service.html">Service</a></div><div class="ttdoc">服务基类</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00019">Service.h:19</a></div></div>
<div class="ttc" id="aclass_service_html_ac215518825547a80c089e9166d4f5e72"><div class="ttname"><a href="class_service.html#ac215518825547a80c089e9166d4f5e72">Service::_config</a></div><div class="ttdeci">SharedPtr&lt; TcpConfig &gt; _config</div><div class="ttdoc">配置文件</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00114">Service.h:114</a></div></div>
<div class="ttc" id="aclass_service_html_a46eb93cf78fbfeed368634a90d9775d9"><div class="ttname"><a href="class_service.html#a46eb93cf78fbfeed368634a90d9775d9">Service::DeleteNullClient</a></div><div class="ttdeci">static void DeleteNullClient(Client *c)</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00109">Service.h:109</a></div></div>
<div class="ttc" id="aclass_service_html_a5155a095380842a32c022fe9c9854ffd"><div class="ttname"><a href="class_service.html#a5155a095380842a32c022fe9c9854ffd">Service::_mgr</a></div><div class="ttdeci">CSafeMap&lt; SOCKIDEN, SharedPtr&lt; Client &gt; &gt; * _mgr</div><div class="ttdoc">客户端管理</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00115">Service.h:115</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="atools_8h_html_a798af1e30bc65f319c1a246cecf59e39"><div class="ttname"><a href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a></div><div class="ttdeci">unsigned int DWORD</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00134">tools.h:134</a></div></div>
<div class="ttc" id="aclass_service_html_a05c507629c3614ccbe433ea89fd0f985"><div class="ttname"><a href="class_service.html#a05c507629c3614ccbe433ea89fd0f985">Service::IsServer</a></div><div class="ttdeci">bool IsServer() const</div><div class="ttdoc">返回是否为服务端的标志</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00050">Service.h:50</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="astruct_service_1_1_delete_function_html_a679c565a5a4c154d00c10d4b7161f8d7"><div class="ttname"><a href="struct_service_1_1_delete_function.html#a679c565a5a4c154d00c10d4b7161f8d7">Service::DeleteFunction::DeleteFunction</a></div><div class="ttdeci">DeleteFunction(Service *s)</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00078">Service.h:78</a></div></div>
<div class="ttc" id="astruct_service_1_1_delete_function_html"><div class="ttname"><a href="struct_service_1_1_delete_function.html">Service::DeleteFunction</a></div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00076">Service.h:76</a></div></div>
<div class="ttc" id="aclass_server_pool_html"><div class="ttname"><a href="class_server_pool.html">ServerPool</a></div><div class="ttdef"><b>Definition:</b> <a href="_server_pool_8h_source.html#l00012">ServerPool.h:12</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html"><div class="ttname"><a href="class_c_basic_service.html">CBasicService</a></div><div class="ttdoc">服务类 基类</div><div class="ttdef"><b>Definition:</b> <a href="_service_base_8h_source.html#l00015">ServiceBase.h:15</a></div></div>
<div class="ttc" id="aclass_c_tcp_io_socket_html"><div class="ttname"><a href="class_c_tcp_io_socket.html">CTcpIoSocket</a></div><div class="ttdoc">用于tcp进行io投递的套接字类</div><div class="ttdef"><b>Definition:</b> <a href="_tcp_io_socket_8h_source.html#l00017">TcpIoSocket.h:17</a></div></div>
<div class="ttc" id="aclass_client_html"><div class="ttname"><a href="class_client.html">Client</a></div><div class="ttdef"><b>Definition:</b> <a href="_client_8h_source.html#l00012">Client.h:12</a></div></div>
<div class="ttc" id="astruct_service_1_1_delete_function_html_a85f698b873ff280c7fba743ad7d629f0"><div class="ttname"><a href="struct_service_1_1_delete_function.html#a85f698b873ff280c7fba743ad7d629f0">Service::DeleteFunction::_service</a></div><div class="ttdeci">Service * _service</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00081">Service.h:81</a></div></div>
<div class="ttc" id="aclass_service_html_a83c9735b06c1d6bd177cb0b8d04ce038"><div class="ttname"><a href="class_service.html#a83c9735b06c1d6bd177cb0b8d04ce038">Service::_isServer</a></div><div class="ttdeci">bool _isServer</div><div class="ttdoc">服务端标志</div><div class="ttdef"><b>Definition:</b> <a href="_service_8h_source.html#l00116">Service.h:116</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
